package Top.q3747051.CQPlugin;


import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;



public class NewTherad extends Thread {
    public static Socket socket = null;

    @Override
    public void run() {
        try {
            //1.创建客户端Socket，指定服务器地址和端口
            ServerSocket serverSocket = new ServerSocket(25589);
            while (true) {
                socket = serverSocket.accept();
                SocketLienster socketLienster = new SocketLienster(socket);
                socketLienster.start();
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }


}

